import { Button } from "antd";
import {
  BrowserRouter,
  Switch,
  Route,
  NavLink,
  Redirect,
} from "react-router-dom";
import Home from "./pages/Home/Home";
import Shop from "./pages/Shop/Shop";
import Login from "./pages/Login/Login";
import Layout from "./pages/Layout/Layout";
import './assets/css/reset.css'

import "./App.scss";
function App() {
  return (
    <BrowserRouter>
      <Switch>
        <Layout path="" exact>
          <Route exact path="/" component={Home} />
          <Route exact path="/shop" component={Shop} />
        </Layout>
        <Route exact path="/login" component={Login} />
      </Switch>
    </BrowserRouter>
  );
}

export default App;
